<script type="text/javascript" >
//    stcore.load_tooltip();
//    (function($){
//        $(document).ready(function(){
//            $("#youtubeForm").validate({
//                errorPlacement: function(error, element) {
//                }
//            });
//        });
//    })(jQuery)
</script>
<div class="icon32" id="icon-edit-pages"><br></div>
<h2><?php _e('Upload video',$config['plugin_name'])?></h2>
<br clear="both" />
<div class="wrap">
    <center>
        <div style="width: 90%">
            <form id="youtubeForm1" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=youtubeList') ?>" method="post" enctype="multipart/form-data" >
                <fieldset>
                    <legend>
                    <?php _e('Upload Video', $config['plugin_name']);?>
                    </legend>
                    <ul>
                        <li>
                            <div>
                                <label><?php _e('Title', $config['plugin_name']);?>:</label><br clear="both" />
                                <input value="" class="required" name="title" id="title" type="text"/>
                            </div>
                            <br clear="both" />
                        </li>
                        <li>
                            <div>
                                <label><?php _e('Video', $config['plugin_name']);?>:</label><br clear="both" />
                                <input value="" class="required" name="youtubevideo" type="file"/>
                            </div>
                            <br clear="both" />
                        </li>
                        <li>
                            <div>
                                <label><?php _e('Category', $config['plugin_name']);?>:</label><br clear="both" />
                                <select class="required" name="category">
                                    <option value="Autos">Autos &amp; Vehicles</option>
                                    <option value="Comedy">Comedy</option>
                                    <option value="Education">Education</option>
                                    <option value="Entertainment">Entertainment</option>
                                    <option value="Film">Film &amp; Animation</option>
                                    <option value="Games">Gaming</option>
                                    <option value="Howto">Howto &amp; Style</option>
                                    <option value="Music">Music</option>
                                    <option value="News">News &amp; Politics</option>
                                    <option value="Nonprofit">Nonprofits &amp; Activism</option>
                                    <option value="People">People &amp; Blogs</option>
                                    <option value="Animals">Pets &amp; Animals</option>
                                    <option value="Tech">Science &amp; Technology</option>
                                    <option value="Sports">Sports</option>
                                    <option value="Travel">Travel &amp; Events</option>
                                </select>
                            </div>
                            <br clear="both" />
                        </li>
                        <li>
                            <div>
                                <label><?php _e('Description', $config['plugin_name']);?>:</label><br clear="both" />
                                <textarea class="required" id="description" name="description" cols="5" rows="5"></textarea>

                            </div>
                            <br clear="both" />
                        </li>
                        <li>
                            <div>
                                <label><?php _e('Tags', $config['plugin_name']);?>:</label><br clear="both" />
                                <textarea id="tag" name="tag" cols="5" rows="5"></textarea>
                            </div>
                            <br clear="both" />
                        </li>                        
                    </ul>
                    <input type="hidden" value="" id="id" name="id"/>
                    <input type="hidden" value="upload" id="handle" name="handle"/>
                    <input type="submit" value="Submit"/>
                </fieldset>
            </form>
        </div>
    </center>
</div>

